package jn.chen.utils.emailCode.service;

import jn.chen.utils.emailCode.dto.EmailDTO;

import javax.mail.MessagingException;

/**
 * @className: SendEmail
 * @author: chenLin
 * @version: 1.0.0
 * @description:
 * @date: 2022/11/1 0001 14:25
 */
public interface SendEmail {
    /**
     * 发送邮件
     * @param email
     * @return
     */
    String sendHtmlEmail(EmailDTO email) throws MessagingException;

}
